<!--
 * @Author: 李明明
 * @Date: 2022-04-29 15:25:27
 * @LastEditTime: 2022-05-07 09:44:28
 * @LastEditors: 李明明
 * @Description: 、
 * @FilePath: /官网pc端/web/html/home/message-detail.html
 * 代码版权方：'政府采购信息网'
-->
<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

  <meta name="description" content="描述">
  <meta name="keywords" content="关键词">
  <link rel="icon" href="">
  <link rel="shortcut icon" href="">
  <!--    <link rel="stylesheet" href="//at.alicdn.com/t/font_2052942_xzk2q3ix0w.css">-->
  <title>消息详情</title>
  <link rel="stylesheet" href="/web/public/css/public.css">
  <link rel="stylesheet" href="/web/public/css/header.css">
  <link rel="stylesheet" href="/web/public/css/footer.css">
  <link rel="stylesheet" href="/web/public/css/message-detail.css">
  <link rel="stylesheet" href="/web/public/css/aside.css">Î
  <script src="/web/lib/jquery-1.12.4.min.js"></script>
  <script src="/web/public/public.js"></script>
  <script src="/web/lib/jquery.pagination.js"></script>
</head>

<body>
  <div class="container">
    <!--这里引入header-->
    <include file="/web/html/header/header.htm" page-type="1"></include>
    <div id="main">
      <div class="aside-wrap">
        <include file="/web/html/fragment/personal-center/aside.htm"></include>
      </div>
      <div class="list-wrap">
        <div class="tab-list">
          <div class="tab-item">
            消息中心
          </div>
        </div>
        <div class="message-content">
          <div class="title">开动捷富凯三安贷款</div>
          <div class="date">2020-10-10</div>
          <div class="content">
            隧道反扫拉单放开东京暗放开
          </div>
        </div>
      </div>
    </div>
    <include file="/web/html/footer/footer.htm"></include>
  </div>
  <script>
    $(function () {
      $('#personal-center-aside .aside-list .message').addClass('active');
      var messageId = utils.getQueryVariable('id');
      $.ajax({
          url:ports.getMyMessageDetail,
          data:{
              messageId:messageId
          },
          success:function (res) {
              console.log('获取我的消息详情',res);
              if(res.status==200){
                  var resData = res.data;

                  $('title').text(resData.messageTitle);
                  $('.message-content .title').html(resData.messageTitle);
                  $('.message-content .date').html(resData.publishTime);
                  $('.message-content .content').html(resData.messageContent);
              }
          }
      })
    })
  </script>
</body>

</html>